package com.itheima.travel.dao;

import com.itheima.travel.domain.Category;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

public interface CategoryDao {

    @Select("SELECT * FROM tab_category ORDER BY cid")
    List<Category> findAll();
}
